<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>宠物用品 - 爱宠之家</title>
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="../../plugins/bootstrap/css/bootstrap.css">
    <!-- Custom CSS -->
    <link href="styles.css" rel="stylesheet">
</head>

<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-inverse" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse"
                    data-target="#example-navbar-collapse">
                    <span class="sr-only">切换导航</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">爱宠之家</a>
            </div>
            <div class="collapse navbar-collapse" id="example-navbar-collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li class="nav-item">
                        <a class="nav-link" href="../adoption/adoption.html">宠物领养</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="../cats/cats.html">猫咪选购</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="../large-dogs/large-dogs.html">小型犬选购</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="../large-dogs/large-dogs.html">大型犬选购</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="../food/food.html">宠物用品</a>
                    </li>
                    <!-- <li class="nav-item ms-2">
                        <a class="btn btn-primary" href="login.html">登录/注册</a>
                    </li> -->
                    <!-- <li class="nav-item ms-2">
                        <form class="d-flex">
                            <input class="form-control me-2" type="search" placeholder="搜索宠物或用品">
                            <button class="btn btn-outline-primary" type="submit">搜索</button>
                        </form>
                    </li> -->
                </ul>
            </div>
        </div>
    </nav>

    <!-- 页面标题 -->
    <div class="page-header">
        <div class="container">
            <h1>宠物用品</h1>
            <p class="lead">精选优质宠物用品，让您的爱宠生活更舒适</p>
        </div>
    </div>

    <!-- 分类导航 -->
    <div class="container mt-4">
        <ul class="nav nav-pills justify-content-center">
            <li class="nav-item">
                <a class="nav-link active" href="#food">宠物食品</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#daily">日常用品</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#toys">玩具用品</a>
            </li>
            <li class="nav-item">
                <a class="nav-link" href="#health">保健用品</a>
            </li>
        </ul>
    </div>

    <!-- 宠物食品区域 -->
    <div class="container mt-4" id="food">
        <h3 class="mb-4">宠物食品</h3>
        <div class="row g-4">
            <div class="col-md-3 col-6">
                <div class="card product-card">

                    <img src="../../imgs/f1.webp" height="300" width="300" class="card-img-top" alt="狗粮">
                    <div class="card-body">
                        <h5 class="card-title">优质狗粮</h5>
                        <p class="card-text">天然配方 营养均衡</p>
                        <div class="price">¥128</div>
                        <button class="btn btn-primary w-100" data-bs-toggle="modal"
                            data-bs-target="#purchaseModal">加入购物车</button>
                    </div>
                </div>
            </div>
            <div class="col-md-3 col-6">
                <div class="card product-card">

                    <img src="../../imgs/f2.webp" height="300" width="300" class="card-img-top" alt="猫粮">
                    <div class="card-body">
                        <h5 class="card-title">精选猫粮</h5>
                        <p class="card-text">添加牛磺酸 护眼配方</p>
                        <div class="price">¥158</div>
                        <button class="btn btn-primary w-100" data-bs-toggle="modal"
                            data-bs-target="#purchaseModal">加入购物车</button>
                    </div>
                </div>
            </div>
            <div class="col-md-3 col-6">
                <div class="card product-card">

                    <img src="../../imgs/f3.webp" height="300" width="300" class="card-img-top" alt="零食">
                    <div class="card-body">
                        <h5 class="card-title">宠物零食</h5>
                        <p class="card-text">美味可口 营养丰富</p>
                        <div class="price">¥48</div>
                        <button class="btn btn-primary w-100" data-bs-toggle="modal"
                            data-bs-target="#purchaseModal">加入购物车</button>
                    </div>
                </div>
            </div>
            <div class="col-md-3 col-6">
                <div class="card product-card">
                    <img src="../../imgs/f4.webp" height="300" width="300" class="card-img-top" alt="罐头">
                    <div class="card-body">
                        <h5 class="card-title">宠物罐头</h5>
                        <p class="card-text">鲜肉制作 营养美味</p>
                        <div class="price">¥15</div>
                        <button class="btn btn-primary w-100" data-bs-toggle="modal"
                            data-bs-target="#purchaseModal">加入购物车</button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 日常用品区域 -->
    <div class="container mt-5" id="daily">
        <h3 class="mb-4">日常用品</h3>
        <div class="row g-4">
            <div class="col-md-3 col-6">
                <div class="card product-card">
                    <img src="../../imgs/f5.webp" height="300" width="300" class="card-img-top" alt="猫砂">
                    <div class="card-body">
                        <h5 class="card-title">豆腐猫砂</h5>
                        <p class="card-text">除臭持久 快速结团</p>
                        <div class="price">¥39</div>
                        <button class="btn btn-primary w-100" data-bs-toggle="modal"
                            data-bs-target="#purchaseModal">加入购物车</button>
                    </div>
                </div>
            </div>
            <!-- 更多日常用品... -->
        </div>
    </div>

    <!-- 玩具用品区域 -->
    <div class="container mt-5" id="toys">
        <h3 class="mb-4">玩具用品</h3>
        <div class="row g-4">
            <div class="col-md-3 col-6">
                <div class="card product-card">
                    <img src="../../imgs/f6.webp" height="300" width="300" class="card-img-top" alt="玩具球">
                    <div class="card-body">
                        <h5 class="card-title">互动玩具球</h5>
                        <p class="card-text">耐咬材质 趣味互动</p>
                        <div class="price">¥29</div>
                        <button class="btn btn-primary w-100" data-bs-toggle="modal"
                            data-bs-target="#purchaseModal">加入购物车</button>
                    </div>
                </div>
            </div>
            <!-- 更多玩具用品... -->
        </div>
    </div>

    <!-- 保健用品区域 -->
    <div class="container mt-5" id="health">
        <h3 class="mb-4">保健用品</h3>
        <div class="row g-4">
            <div class="col-md-3 col-6">
                <div class="card product-card">
                    <img src="../../imgs/f7.webp" height="300" width="300" class="card-img-top" alt="营养品">
                    <div class="card-body">
                        <h5 class="card-title">宠物营养品</h5>
                        <p class="card-text">补充营养 提高免疫</p>
                        <div class="price">¥88</div>
                        <button class="btn btn-primary w-100" data-bs-toggle="modal"
                            data-bs-target="#purchaseModal">加入购物车</button>
                    </div>
                </div>
            </div>
            <!-- 更多保健用品... -->
        </div>
    </div>

    <!-- 购买模态框 -->
    <div class="modal fade" id="purchaseModal" tabindex="-1">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">购买信息</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal"></button>
                </div>
                <div class="modal-body">
                    <form>
                        <div class="mb-3">
                            <label class="form-label">数量</label>
                            <input type="number" class="form-control" min="1" value="1" required>
                        </div>
                        <div class="mb-3">
                            <label class="form-label">收货地址</label>
                            <input type="text" class="form-control" required>
                        </div>
                        <div class="mb-3">
                            <label class="form-label">联系电话</label>
                            <input type="tel" class="form-control" required>
                        </div>
                        <div class="mb-3">
                            <label class="form-label">备注信息</label>
                            <textarea class="form-control" rows="3"></textarea>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary">确认购买</button>
                </div>
            </div>
        </div>
    </div>

    <!-- 页脚 -->
    <!-- <footer class="mt-5 py-4">
        <div class="container">
            <div class="row">
                <div class="col-md-3">
                    <h5>关于我们</h5>
                    <ul class="list-unstyled">
                        <li><a href="#">平台介绍</a></li>
                        <li><a href="#">领养须知</a></li>
                        <li><a href="#">联系我们</a></li>
                    </ul>
                </div>
                <div class="col-md-3">
                    <h5>服务支持</h5>
                    <ul class="list-unstyled">
                        <li><a href="#">领养流程</a></li>
                        <li><a href="#">宠物寄养</a></li>
                        <li><a href="#">宠物医疗</a></li>
                    </ul>
                </div>
                <div class="col-md-3">
                    <h5>帮助中心</h5>
                    <ul class="list-unstyled">
                        <li><a href="#">常见问题</a></li>
                        <li><a href="#">服务条款</a></li>
                        <li><a href="#">隐私政策</a></li>
                    </ul>
                </div>
                <div class="col-md-3">
                    <h5>关注我们</h5>
                    <ul class="list-unstyled">
                        <li><a href="#"><i class="bi bi-wechat me-2"></i>官方微信</a></li>
                        <li><a href="#"><i class="bi bi-weibo me-2"></i>新浪微博</a></li>
                        <li><a href="#"><i class="bi bi-telephone me-2"></i>400-888-9999</a></li>
                    </ul>
                </div>
            </div>
            <hr>
            <div class="text-center">
                <p class="mb-0">Copyright © 2024 爱宠之家 All Rights Reserved</p>
            </div>
        </div>
    </footer> -->

    <!-- Bootstrap JS -->
    <script src="../../plugins/bootstrap/js/bootstrap.js"></script>
    <script src="../../plugins/jquery/jquery.min.js"></script>
</body>

</html>